﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NRCP.BusinessLogicLayer
{
    public partial class FarmBLL
    {
        public int GetFarmsAllCount()
        {
            try
            {
               return _socialShareDatabaseContext.Farms.Count();
            }
            catch (Exception ex)
            {
                //Error handling
                throw ex;
            }
        }
    }
}